﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoPartsSearch.Domain.Entities;
using AutoPartsSearch.Domain.Entities.Enums;

namespace AutoPartsSearch.Domain.Abstract.Repositories
{
    public interface IDictionaryRepository : IBaseRepository<Dictionary>
    {
        IEnumerable<Dictionary> GetByParentId(int parentId);
        IEnumerable<Dictionary> GetByType(DictionaryType type);
        IEnumerable<Dictionary> GetByParentType(DictionaryType type);
        IEnumerable<Dictionary> GetByAdditionalParentType(DictionaryType type);
        IEnumerable<Dictionary> GetByDictionaryTypeParent(DictionaryType type);
    }
}
